import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { NzCheckboxModule } from 'ng-zorro-antd/checkbox';

@Component({
  selector: 'app-checkbox-basic',
  standalone: true,
  imports: [NzCheckboxModule, FormsModule],
  template: `<div class="demo">
    <label nz-checkbox [(ngModel)]="value">选我</label>
  </div> `,
  styles: ``,
})
export class CheckboxBasicComponent {
  value = false;
}
